package com.easyedu.student.service;

import com.easyedu.core.entity.po.Institute;
import com.easyedu.student.dao.InstituteDao;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lmr
 **/
@Service
public class InstituteService {

    private final InstituteDao instituteDao;

    public InstituteService(InstituteDao instituteDao) {
        this.instituteDao = instituteDao;
    }

    public List<Institute> getInstitute() {
        return instituteDao.getInstitute();
    }
}
